package cn.alone.product.mapper;

import cn.alone.basic.mapper.BaseMapper;
import cn.alone.product.domain.Product;

import java.util.Map;

public interface ProductMapper extends BaseMapper<Product> {

    void onSale(Map<String, Object> map);

    void offSale(Map<String, Object> map);

    /**
     * 连表查询
     * @param id
     * @return
     */
    Product loadByIdDetail(Long id);
}
